package com.example.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.product.entity.Orders;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrdersService extends IService<Orders> {
    //新增
    void add(Orders orders);

    //删除
    void deleteById(Integer id);

    //修改
    Orders selectById(Integer id);

    List<Orders> selectAll(Orders orders);

    PageInfo<Orders> selectPage(Orders orders, Integer pageNum, Integer pageSize);

}